package com.ruoyi.document.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资料管理对象 doc_informations_bank
 *
 * @author ruoyi
 * @date 2024-12-04
 */
public class DocInformationsBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资料ID */
    private Long id;

    /** 资料名称 */
    @Excel(name = "资料名称")
    private String name;

    /** 学科ID */
    private Long sId;

    /** 用户ID */
    private Long uId;

    /** 浏览量 */
    private Long count;

    /** 资料对应的积分 */
    private BigDecimal price;

    /** 资料路径 */
    private String url;

    /** 学科名称 */
    @Excel(name = "学科名称")
    private String sname;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setsId(Long sId)
    {
        this.sId = sId;
    }

    public Long getsId()
    {
        return sId;
    }
    public void setuId(Long uId)
    {
        this.uId = uId;
    }

    public Long getuId()
    {
        return uId;
    }
    public void setCount(Long count)
    {
        this.count = count;
    }

    public Long getCount()
    {
        return count;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setSname(String sname)
    {
        this.sname = sname;
    }

    public String getSname()
    {
        return sname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("sId", getsId())
                .append("uId", getuId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .append("count", getCount())
                .append("price", getPrice())
                .append("url", getUrl())
                .append("sname", getSname())
                .toString();
    }
}
